<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>
      wbxml
  </title>
  <script src="javascripts/rounded_corners_lite.inc.js" type="text/javascript"></script>
<style>

</style>
  <script type="text/javascript">
    window.onload = function() {
      settings = {
          tl: { radius: 10 },
          tr: { radius: 10 },
          bl: { radius: 10 },
          br: { radius: 10 },
          antiAlias: true,
          autoPad: true,
          validTags: ["div"]
      }
      var versionBox = new curvyCorners(settings, document.getElementById("version"));
      versionBox.applyCornersToAll();
    }
  </script>
</head>
<body>
<div id="main">

    <h1>wbxml</h1>
    <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/wbxml"; return false'>
      <p>Get Version</p>
      <a href="http://rubyforge.org/projects/wbxml" class="numbers">0.0.1</a>
    </div>
    <h1>&#x2192; &#8216;wbxml&#8217;</h1>


	<h2>What</h2>


	<p>Wbxml converts messages for <span class="caps">WAP</span> mobile phones from <span class="caps">XML</span> to the compressed <span class="caps">WBXML</span> and back again.
See <a href="http://www.wapforum.org">http://www.wapforum.org</a> for more information.</p>


	<h2>Installing</h2>


	<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">wbxml</span></pre></p>


	<h2>Demonstration of usage</h2>


	<p><pre class='syntax'>
<span class="ident">require</span> <span class="punct">'</span><span class="string">wbxml</span><span class="punct">'</span>

<span class="ident">w</span> <span class="punct">=</span> <span class="constant">WBXML</span><span class="punct">.</span><span class="ident">xml_to_wbxml</span> <span class="punct">&lt;&lt;</span><span class="constant">END</span><span class="string">
&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!DOCTYPE si PUBLIC &quot;-//WAPFORUM//DTD SI 1.0//EN&quot; &quot;http://www.wapforum.org/DTD/si.dtd&quot;&gt;
&lt;si&gt;
  &lt;indication href=&quot;http://wap.yahoo.com&quot;&gt;
    m-Qube Msg
  &lt;/indication&gt;
&lt;/si&gt;
</span><span class="constant">END</span>
<span class="punct">=&gt;</span> <span class="punct">&quot;</span><span class="string"><span class="escape">\003\005</span>j<span class="escape">\000</span>E<span class="escape">\306\f\003</span>wap.yahoo.com<span class="escape">\000\001\003</span>m-Qube Msg<span class="escape">\000\001\001</span></span><span class="punct">&quot;</span>

<span class="constant">WBXML</span><span class="punct">.</span><span class="ident">wbxml_to_xml</span> <span class="ident">w</span>
<span class="punct">=&gt;</span> <span class="punct">&quot;</span><span class="string">&lt;?xml version=<span class="escape">\&quot;</span>1.0<span class="escape">\&quot;</span>?&gt;<span class="escape">\n</span>&lt;!DOCTYPE si PUBLIC <span class="escape">\&quot;</span>-//WAPFORUM//DTD SI 1.0//EN<span class="escape">\&quot;</span> <span class="escape">\&quot;</span>http://www.wapforum.org/DTD/si.dtd<span class="escape">\&quot;</span>&gt;<span class="escape">\n</span>&lt;si&gt;<span class="escape">\n</span>  &lt;indication href=<span class="escape">\&quot;</span>http://wap.yahoo.com<span class="escape">\&quot;</span>&gt;<span class="escape">\n</span>    m-Qube Msg<span class="escape">\n</span>  &lt;/indication&gt;<span class="escape">\n</span>&lt;/si&gt;<span class="escape">\n</span></span><span class="punct">&quot;</span>
</pre></p>


	<h2>How to submit patches</h2>


	<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>


	<p>The trunk repository is <code>svn://rubyforge.org/var/svn/wbxml/trunk</code> for anonymous access.</p>


	<p>You can fetch the source from:</p>


	<ul>
	<li>rubyforge: <a href="http://rubyforge.org/scm/?group_id=4333">http://rubyforge.org/scm/?group_id=4333</a></li>
	</ul>


	<h3>Build and test instructions</h3>


<pre>cd wbxml
rake spec
rake install_gem</pre>

	<h2>License</h2>


	<p>Development of this wrapper was generously funded by <a href="http://mobiblast.com">Mobiblast.com</a>
and is free to use under the terms of the <span class="caps">MIT</span> license.</p>


	<h2>Contact</h2>


	<p>Comments are welcome. Send an email to <a href="mailto:cjheath@rubyforge.org">Clifford Heath</a></p>
    <p class="coda">
      <a href="cjheath@rubyforge.org">FIXME full name</a>, 21st May 2008<br>
      Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
    </p>
</div>

<!-- insert site tracking codes here, like Google Urchin -->

</body>
</html>
